<?php
return array(
    'runHandlers'=>array(
        '@' => array(
            'handler'=>'InitHandler',
            'params'=>array(),
        ),
        'authUser' => array(
            'handler'=>'user/AuthorizeHandler',
            'params'=>array(
                'action'=>$_REQUEST['action'],
                'email'=>$_REQUEST['email'],
                'password'=>$_REQUEST['password'],
            ),
        ),
        'userCompany' => array(
            'handler'=>'company/GetCompanyByUserHandler',
            'params'=>array(
                'userObj'=>'@authUser',
                'useCache' => 20,
            ),
        ),
    ),
);    